<script setup>
import Component1 from "../components/component1.vue";
import Component2 from "../components/component2.vue";
</script>

<template>
  <h1>使用mitt实现兄弟间组件的通信</h1>
  <hr />
  <Component1></Component1>
  <hr />
  <Component2></Component2>
</template>

<style scoped></style>
